package com.luych.toolbox.automation.service.entity;

import com.luych.toolbox.common.enums.AutoTaskTemplateNodeStdoutType;
import com.luych.toolbox.common.service.base.BaseEntity;

import javax.persistence.*;

@Entity
@Table(name = "auto_task_template_node_stdout")
public class AutoTaskTemplateNodeStdout extends BaseEntity {

    @Column(name = "auto_task_template_node_id")
    private String autoTaskTemplateNodeId;
    @Column(name = "type")
    @Enumerated(EnumType.STRING)
    private AutoTaskTemplateNodeStdoutType type;
    @Column(name = "auto_task_template_arg_id")
    private String autoTaskTemplateArgId;
    @Column(name = "expression")
    private String expression;

    public String getAutoTaskTemplateNodeId() {
        return autoTaskTemplateNodeId;
    }

    public void setAutoTaskTemplateNodeId(String autoTaskTemplateNodeId) {
        this.autoTaskTemplateNodeId = autoTaskTemplateNodeId;
    }

    public AutoTaskTemplateNodeStdoutType getType() {
        return type;
    }

    public void setType(AutoTaskTemplateNodeStdoutType type) {
        this.type = type;
    }

    public String getAutoTaskTemplateArgId() {
        return autoTaskTemplateArgId;
    }

    public void setAutoTaskTemplateArgId(String autoTaskTemplateArgId) {
        this.autoTaskTemplateArgId = autoTaskTemplateArgId;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }
}